@extends('backend::modal')
@section('title',trans($page_title))
@push('styles')
    <link href="{{asset(config('view.plugin').'/layui/layui_ext/cascader/cascader.css')}}" rel="stylesheet">
@endpush
@section('content')

    @component('backend::component.form.form')
        @slot('page_title') {{$page_title}} @endslot
        @slot('formId') store @endslot
        @slot('action') {{route('b_Wd_wdAgree',['wd_id'=>$wd_id])}} @endslot


        @component('backend::component.form.form-group')
            @slot('title') 账户类型 @endslot
            @component('backend::component.form.select',['options'=>['支付宝'=>'支付宝','微信'=>'微信','银行卡'=>'银行卡']])
                @slot('name') account_type @endslot
            @endcomponent
        @endcomponent

        @component('backend::component.form.form-group')
            @slot('title')账号 @endslot
            @component('backend::component.form.input')
                @slot('name') card @endslot
            @endcomponent
        @endcomponent

        @component('backend::component.form.form-group')
            @slot('title') 姓名 @endslot
            @component('backend::component.form.input')
                @slot('name') name @endslot
            @endcomponent
        @endcomponent

        @component('backend::component.form.form-group')
            @slot('title') 开户行 @endslot
            @component('backend::component.form.input')
                @slot('name') bank_name @endslot
            @endcomponent
            @slot('remark') 仅选择银行卡需要填写 @endslot
        @endcomponent

        @component('backend::component.form.form-group')
            @slot('title') 预留电话 @endslot
            @component('backend::component.form.input')
                @slot('name') phone @endslot
                @slot('value')  @endslot
            @endcomponent
        @endcomponent

        @component('backend::component.form.form-group')
            @slot('title') 备注 @endslot
            @component('backend::component.form.textarea')
                @slot('name') remark @endslot
                @slot('row') 2 @endslot
            @endcomponent
        @endcomponent


        @slot('buttons')
            @component('backend::component.form.button')
                @slot('title') 提交 @endslot
                @slot('size') sm @endslot
                @slot('params') {"formId":"#store"} @endslot
                @slot('class') btn-min-width ajax-form @endslot
            @endcomponent
        @endslot
    @endcomponent
@endsection
